package github.fafaovo.common.config;

import net.minecraftforge.common.ForgeConfigSpec;

public final class exampleconfig {
    public static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder();
    public static final ForgeConfigSpec SPEC;

    public static final ForgeConfigSpec.ConfigValue<Integer> example_integer;
    //public static final ForgeConfigSpec.ConfigValue<String> example_string;
    public static final ForgeConfigSpec.ConfigValue<Boolean> example_boolean;

    public static final ForgeConfigSpec.ConfigValue<Integer> machine_pos;

    static {
        BUILDER.push("Config for deep_capacity mod");

        example_integer = BUILDER.comment("The speed at which the energy bar increases").defineInRange("integer",5,0,1000);
        //example_string = BUILDER.comment("this is a string ,Default value is \"null\".").define("Example string","null");
        example_boolean = BUILDER.comment("Increase or decrease . \"true\": Increase.").define("boolean", true);

        machine_pos = BUILDER.comment("The Machine Scope").defineInRange("integer",20,0,100);

        BUILDER.pop();
        SPEC = BUILDER.build();
    }

}
